package com.logic.landseaserver.persistence.read;

import java.util.List;

import com.logic.landseaserver.domain.DdingProjectConfig;
import com.logic.landseaserver.domain.DdingProjectConfigKey;

public interface DdingProjectConfigReadMapper
{
    int deleteByPrimaryKey(DdingProjectConfigKey key);
    
    int insert(DdingProjectConfig record);
    
    int insertSelective(DdingProjectConfig record);
    
    DdingProjectConfig selectByPrimaryKey(DdingProjectConfigKey key);
    
    int updateByPrimaryKeySelective(DdingProjectConfig record);
    
    int updateByPrimaryKey(DdingProjectConfig record);
    
    /**
     * 
     * [简要描述]：根据项目ID查询配置项</br>
     * [详细描述]：返回项目所有的配置项</br>
     * [作者]：Aaron(2017-06-26)</br>
     *
     * @param projectId 项目ID
     * @return List<DdingProjectConfig>
     *
     */
    List<DdingProjectConfig> selectByProjectId(Integer projectId);
}